package com.demo.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class CustomException extends RuntimeException {

    private static final long serialVersionUID = 6194861465583174143L;
    private String msg;

    public CustomException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
